package com.antdesignbackend.backend.district.service;


import com.antdesignbackend.backend.district.entity.District;
import com.antdesignbackend.backend.district.entity.entityVo.DistrictVo;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 区县管理
 *
 * @author 不二
 * @email jack.com
 * @date 2020-07-21 17:56:51
 */


public interface DistrictService extends IService<District>{
    List<DistrictVo> search(@Param(Constants.WRAPPER) QueryWrapper<DistrictVo> queryWrapper, Page<DistrictVo> page);
    Integer count(@Param(Constants.WRAPPER) QueryWrapper<DistrictVo> queryWrapper);
}


